<?php

class AcaoChamadoDao extends Dao {

    public function injectDependencies() {

    }

    public function findAll() {
        $ArCalledActions = array();
        $StSql = TQuery::getSqlFindAllCalledActions();
        $this->initConnection();
        $tQuery = $this->tMysqli->exec($StSql);
        while($ArAcaoChamadoData = mysqli_fetch_assoc($tQuery)) {
            $ArCalledActions[] = new AcaoChamado($ArAcaoChamadoData['IDAcaoChamado'], $ArAcaoChamadoData['StAcao']);
        }
        $this->closeConnection();
        return $ArCalledActions;
    }

}

?>
